package ModelLayer;

import java.util.ArrayList;

public class Supplier {
	private String supplierId;
	private String name;
	private String address;
	private String country;
	private String phoneNo;
	private String email;
	private ArrayList<Product> productList;
	
	
	public Supplier(){
		
	}
	
	public Supplier(String supplierId){
		this.supplierId = supplierId;
	}

	public Supplier(String supplierId, String name, String address, String country, String phoneNo, String email){
		this.supplierId = supplierId;
		this.name = name;
		this.address = address;
		this.country = country;
		this.phoneNo = phoneNo;
		this.email = email;
	}

	public ArrayList<Product> getProductList() {
		return productList;
	}
	
	public void setProductList(ArrayList<Product> productList)
	{
		this.productList = productList;
	}
	/**
	 * Setters
	 */
	
	public void setSupplierId(String supplierId){
		this.supplierId = supplierId;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public void setAddress(String address){
		this.address = address;
	}
	
	public void setCountry(String country){
		this.country = country;
	}
	
	public void setPhoneNo(String phoneNo){
		this.phoneNo = phoneNo;
	}
	
	public void setEmail(String email){
		this.email = email;
	}
	
	
	/**
	 * Getters
	 */
	
	public String getSupplierId(){
		return supplierId;
	}
	
	public String getName(){
		return name;
	}
	
	public String getAddress(){
		return address;
	}
	
	public String getCountry(){
		return country;
	}
	
	public String getPhoneNo(){
		return phoneNo;
	}
	
	public String getEmail(){
		return email;
	}
}